Skip to content

Fix noCopyConstructor with multiple inheritance - #3203

Merged
danmar merged 1 commit into
cppcheck-opensource:mainfrom
ericmalenfant:main
Apr 9, 2021
Merged

danmar merged 1 commit into
cppcheck-opensource:mainfrom
ericmalenfant:main

Conversation

@ericmalenfant

Copy link
Copy Markdown
Contributor

The bug was that isNonCopyable (now renamed to
hasNonCopyableBase) "forgot" that it found an
unknown class in the list if a known copyable
class was found later in the list.

As discussed on the Development mailing list: https://sourceforge.net/p/cppcheck/discussion/development/thread/223ac3df06/#5a8d

The bug was that `isNonCopyable` (now renamed to
`hasNonCopyableBase`) "forgot" that it found an
unknown class in the list if a known copyable
class was found later in the list.
@amai2012
amai2012 requested a review from danmar April 8, 2021 09:19
@danmar
danmar merged commit 1e9687a into cppcheck-opensource:main Apr 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants